/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date           Author       Notes
* 2022-08-10     zlj      the first version
*/

#ifndef _DRV_POWER_SUPPLY_H
#define _DRV_POWER_SUPPLY_H

typedef enum{
    POWER_SUUPLY_NONE,
    POWER_SUUPLY_USB3V3,
    POWER_SUUPLY_USB5V,
    POWER_SUUPLY_USB12V,
}power_supply_e;

void power_supply_control(power_supply_e new_state);
power_supply_e power_supply_get_state(void);



#endif